#!/bin/bash
clear

# 输出报告标题
echo "Storage Report by chenyongxi"

# 显示RAID 1阵列详细状态
echo -e "\n====================================="
echo "RAID 1 Array (/dev/md1) Status:"
echo "====================================="
sudo mdadm --detail /dev/md1

# 显示LVM卷组状态
echo -e "\n====================================="
echo "LVM Volume Group (vg_0144) Status:"
echo "====================================="
sudo vgdisplay vg_0144

# 显示LVM逻辑卷状态
echo -e "\n====================================="
echo "LVM Logical Volume (lv_chenyongxi) Status:"
echo "====================================="
sudo lvdisplay /dev/vg_0144/lv_chenyongxi

# 显示所有文件系统挂载情况
echo -e "\n====================================="
echo "Filesystem Mount Information:"
echo "====================================="
mount
